public class Book{
private String cook;
private String au;
private String pr;
private String co;
public Book(String bookname,String author,String press,String copyrightdate)
{cook=bookname;au=author;pr =press;co=copyrightdate;}
public String getCook()
{
return cook;
}
public String getAu()
{
return au;}

public String getPr()
{
return pr;
}
public String getCo()
{
return co;
}
public void setCook(String change)
{
cook = change;
}
public void setAu(String change2)
{
au=change2;
}
public void setPr(String change3)
{
pr=change3;
}
public void setCo(String change4)
{
co = change4;
}
public String toString()
{return cook+"\n"+au+"\n"+pr+"\n"+co;}}
